package cn.qzuie.smart.module.dorm.enums;
import cn.qzuie.smart.framework.common.exception.ErrorCode;

public interface ErrorCodeConstants {
    //1-006-001-001
    ErrorCode ASSET_TYPE_NOT_EXISTS = new ErrorCode(1-006-001-001, "资产类型不存在");
    ErrorCode ASSET_TYPE_EXITS_CHILDREN = new ErrorCode(1-006-001-002, "存在存在子资产类型，无法删除");
    ErrorCode ASSET_TYPE_PARENT_NOT_EXITS = new ErrorCode(1-006-001-003, "父级资产类型不存在");
    ErrorCode ASSET_TYPE_PARENT_ERROR = new ErrorCode(1-006-001-004, "不能设置自己为父资产类型");
    ErrorCode ASSET_TYPE_NAME_DUPLICATE = new ErrorCode(1-006-001-005, "已经存在该分类的资产类型");
    ErrorCode ASSET_TYPE_PARENT_IS_CHILD = new ErrorCode(1-006-001-006, "不能设置自己的子AssetType为父AssetType");
    //1-006-002-001
    ErrorCode ASSET_NOT_EXISTS = new ErrorCode(1-006-002-001, "资产不存在");
    ErrorCode BUILDINGS_NOT_EXISTS = new ErrorCode(1-006-002-002, "栋不存在");
    ErrorCode ITORIES_NOT_EXISTS = new ErrorCode(1-006-002-003, "宿舍不存在");
    ErrorCode ENERGY_USAGE_NOT_EXISTS = new ErrorCode(1-006-002-004, "能源使用不存在");
    ErrorCode ENERGY_EQUIPMENT_NOT_EXISTS = new ErrorCode(1-006-002-005, "能源设备不存在");
    ErrorCode BILL_PAY_NOT_EXISTS = new ErrorCode(1-006-002-006, "账单支付不存在");
    ErrorCode BILLS_NOT_EXISTS = new ErrorCode(1-006-002-007, "账单不存在");
}
